var
	a,b,c:integer;
begin
	for a:=1 to 20 do
	for b:=a to 20 do
	for c:=b to 20 do
	if a*a+b*b = c*c then
	writeln(a,' ',b,' ',c);
end.